<script language="javascript" src="./include/js/validate.js"></script>
	<div id="nav">
		当前位置: <a href="?action=default">管理首页</a> <span>&gt;</span> 添加用户
	</div>
	<form id="theform" action="?action=cron&op=go" method="post" class="block" enctype="multipart/form-data" onSubmit="return Validator.Validate(this,2);">
	<input name="cronid" type="hidden" value="<?=$cron[cronid]?>" />
	<table summary="" cellpadding="0" cellspacing="0" border="0" width="100%">
	<tr>
		<th>任务名</th>
		<td><input name="namenew" type="text" size="40" value="<?=$cron[name ]?>"  maxlength="50"></td>
		</tr>
		<tr>
		<th style="width: 7em;">每周</th>
		<td><select name="weekdaynew">
            	<option value="-1">*</option>
                <?=$weekdayselect?>
            </select></td>
		</tr>
		
		<th style="width: 7em;">每月</th>
		<td><select name="daynew">
        <option value="-1">*</option>
        <?=$dayselect?>
        </select>
        </td>
		</tr>
		
		<tr>
		<th>小时</th>
		<td> <select name="hournew">
        <option value="-1">*</option>
        <?=$hourselect?>
        </select>
       </td>
		</tr>
		
		<tr>
		<th>分钟</th>
		<td><input name="minutenew" type="text" size="40" value="<?=$cronminute?>" maxlength="36" /></td>
		</tr>
		
		<tr>
		<th>任务脚本</th>
		<td><input name="filenamenew" type="text" size="40" value="<?=$cron[filename]?>"  maxlength="50"></td>
		</tr>
		
		<tr>
		<th>&nbsp;</th>
		<td>
		<button value="true" type="submit" name="name="editsubmit" class="submit">提交</button></td>
		</tr>
	</table>
	</form>